#include<stdio.h>
int main(){
    int a;
    float flt1,flt2,flt3;
    printf("Please input 3 float type NUM! (like: float,float,float)\n");
    a = scanf("%f,%f,%f",&flt1,&flt2,&flt3);
    while (a != 3){
    	printf("Wrong! Pls reinput 3 float type NUM!\n");
   		a = scanf("%f,%f,%f",&flt1,&flt2,&flt3);
	}
    printf("%d\n",a);
    printf("Min num is %.2f\n",(flt3 <(flt1 < flt2 ? flt1 : flt2)? flt3 : (flt1 < flt2 ? flt1 : flt2))); 
    getchar();
    
    return 0;
}

